package com.xyd.services.impl;

import com.xyd.dao.DistrictMapper;
import com.xyd.pojo.District;
import com.xyd.services.DistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("districtService")
public class DistrictServiceImpl implements DistrictService {
    @Autowired
    private DistrictMapper districtMapper;
    @Override
    public List<District> getAll() {
        return districtMapper.selectAll();
    }



}
